﻿# Create your views here.
# местоположение
from django.contrib.auth.decorators import login_required

def render_to(request, template, context):
    context_extra = Context({
        'dummy2': 2,
    })
    return render_to_response('house/'+template, context, context_instance=RequestContext(request, context_extra))




@login_required
def index(request): 

    context = Context({
        'dummy': 1,
    })
    return render_to(request, 'index.html', context)



@login_required
def workplace_list(request):


    context = Context({
        'dummy': 1,
    })
    return render_to(request, 'workplace_list', context)